import 'package:first_flutter/pages/member/widget_demo.dart';
import 'package:flutter/material.dart';

class MemberPage extends StatelessWidget {
  const MemberPage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: TextButton(
            onPressed: () => {
                  Navigator.push(context,
                      MaterialPageRoute(builder: (context) => WidgetDemo()))
                },
            child: const Text("组件介绍")),
      ),
    );
  }
}
